Cyclomatic Complexity: theme and variations
نویسندگان
چکیده
Focussing on the "McCabe family" of measures for the decision/logic structure of a program, leads to an evaluation of extensions to modularization, nesting and, potentially, to object-oriented program structures. A comparison of rated, operating and essential complexities of programs suggests two new metrics: 'inessential complexity" as a measure of unstructuredness and "product complexity" as a potential objective measure of structural complexity. Finally, nesting and abstraction levels are considered, especially as to how metrics from the "McCabe family" might be applied in an object-oriented systems development environment.
منابع مشابه
Computing Cyclomatic Complexity with Cubic Flowgraphs
Two new methods for the computation of cyclomatic complexity especially for decomposable representations are introduced. Building software by integration is a developing paradigm, especially enabled by the emerging component technologies. Decomposition of the design for a top-down approach is a prerequisite for this paradigm. Cubic flowgraphs are instrumental in providing formalisms for decompo...
متن کاملA measure of program nesting complexity
For more than a decade, metrics of software complexity has been an intriguing topic for discussion. Many metrics have been proposed. Among them, the cyclomatic complexity metric is the easiest to understand and compute. In this paper, the cyclomatic complexity metric and its extensions are reviewed. The strengths and weaknesses of the cyclomatic metric are identified. One of the major weaknesse...
متن کاملAn approach for improving the concept of Cyclomatic Complexity for Object-Oriented Programming
Measuring software complexity plays an important role to meet the demands of complex software. The cyclomatic complexity is one of most used and renowned metric among the other three proposed and researched metrics that are namely: Line of code, Halstead’s measure and cyclomatic complexity. Although cyclomatic complexity is very popular but also serves some of the problems which has been identi...
متن کاملThe TIOBE Quality Indicator a pragmatic way of measuring code quality
interpretation tools will flag a possible null pointer dereference at line 228, because the function “getOrder” can return null in case the order has no valid date. If this situation occurs an exception will be thrown, possibly resulting in program abortion. 3. Cyclomatic complexity. One of the oldest software metrics is cyclomatic complexity. Cyclomatic complexity counts the number of independ...
متن کاملStructured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric
................................................................................................ iii
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Australasian J. of Inf. Systems
دوره 1 شماره
صفحات -
تاریخ انتشار 1993